package itbour.onetouchshow.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/2/1.
 */

public class ClipVideoBean implements Serializable {

    private String videoUrl;
    private String videoThumb;
    private String W;
    private String H;
    private String D;
    private String R;

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVideoThumb() {
        return videoThumb;
    }

    public void setVideoThumb(String videoThumb) {
        this.videoThumb = videoThumb;
    }

    public String getW() {
        return W;
    }

    public void setW(String w) {
        W = w;
    }

    public String getH() {
        return H;
    }

    public void setH(String h) {
        H = h;
    }

    public String getD() {

        return D;
    }

    public void setD(String d) {
        D = d;
    }

    public String getR() {
        if (Integer.valueOf(R) == 90) {
            R = String.valueOf(-90);
        } else if (Integer.valueOf(R) == 270) {
            R = String.valueOf(90);
        }
        return R;
    }

    public void setR(String r) {
        R = r;
    }
}
